xenoprof: Update cpu_type to sync with upstream oprofile
authorJacob Shin <jacob.shin@amd.com>
Mon, 9 May 2011 08:49:14 +0000 (09:49 +0100)
committerJacob Shin <jacob.shin@amd.com>
Mon, 9 May 2011 08:49:14 +0000 (09:49 +0100)
Update xenoprof's cpu_type to match upstream oprofile. Currently AMD
Family 11h ~ Family 15h are broken due to string mismatches.

Signed-off-by: Jacob Shin <jacob.shin@amd.com>
xen/arch/x86/oprofile/nmi_int.c

index 284d4f5b96a7c7cd255c382769f891dfdf642556..4f2c5adb0ff55a346251eb2d4b34cc452bd1ff77 100644 (file)
@@ -435,19 +435,19 @@ static int __init nmi_init(void)
                                break;
                        case 0x11:
                                model = &op_athlon_spec;
-                               cpu_type = "x86-64/family11";
+                               cpu_type = "x86-64/family11h";
                                break;
                         case 0x12:
                                model = &op_athlon_spec;
-                               cpu_type = "x86-64/family12";
+                               cpu_type = "x86-64/family12h";
                                break;
                        case 0x14:
                                 model = &op_athlon_spec;
-                                cpu_type = "x86-64/family14";
+                                cpu_type = "x86-64/family14h";
                                 break;
                         case 0x15:
                                 model = &op_athlon_spec;
-                                cpu_type = "x86-64/family15";
+                                cpu_type = "x86-64/family15h";
                                 break;
                        }
                        break;